package org.springblade.modules.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springblade.modules.admin.dto.TaskPlanPageQueryDTO;
import org.springblade.modules.admin.entity.MaintainTemplateContent;
import org.springblade.modules.admin.vo.TemplateContentDetailVO;
import org.springblade.modules.admin.vo.TemplateContentPageVO;

import java.util.List;

public interface MaintainTemplateContentMapper extends BaseMapper<MaintainTemplateContent> {

	List<TemplateContentPageVO> selectTemplateContentPage(@Param("pageQuery") TaskPlanPageQueryDTO pageQueryDTO,@Param("tenantIds") List<String> tenantIds, IPage<TemplateContentPageVO> page);

	TemplateContentDetailVO selectTemplateContentDetail(@Param("id") Long id,@Param("tenantId") String tenantId);

    MaintainTemplateContent selectContentById(@Param("id") Long id);
}
